package com.demo.scenic.mapper;

import com.demo.scenic.domain.ScenicImg;
import com.demo.scenic.domain.ScenicImgExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ScenicImgMapper {
    long countByExample(ScenicImgExample example);

    int deleteByExample(ScenicImgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ScenicImg record);

    int insertSelective(ScenicImg record);

    List<ScenicImg> selectByExample(ScenicImgExample example);

    ScenicImg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ScenicImg record, @Param("example") ScenicImgExample example);

    int updateByExample(@Param("record") ScenicImg record, @Param("example") ScenicImgExample example);

    int updateByPrimaryKeySelective(ScenicImg record);

    int updateByPrimaryKey(ScenicImg record);
}